from exts import db

class AdminPermission(db.Model):
    __tablename__ = 'admin_permissions'
    
    admin_id = db.Column(db.Integer, db.ForeignKey('admin_users.id'), primary_key=True)
    permission_id = db.Column(db.Integer, db.ForeignKey('permissions.id'), primary_key=True)
    
    
